package com.hmall.mapper;

import com.hmall.model.SysCustomerCredit;
import com.hmall.util.MyMapper;
import com.hmall.vo.CreditVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysCustomerCreditMapper extends MyMapper<SysCustomerCredit> {
    List<CreditVo> selectCreditList(@Param("dept_id") Integer dept_id,@Param("customer_id") Integer customer_id);

    SysCustomerCredit selectByCustomerId(@Param("customer_id") Integer customer_id);
}